#include "Graphics/Technique.h"

#include "Framework/StdHeaders.h"

namespace tyro
{
	namespace Graphics
	{


		Technique::Technique( Material* parent )
			:	parent(parent)	
		{

		}

		Pass* Technique::CreatePass( void )
		{
			Pass* pass = new Pass(this, static_cast<USHORT_16>(passList.size())); 
			passList.push_back(pass);
			return pass;
		}

		Technique::PassList* Technique::GetPassList()
		{
			return &passList;
		}


	}
}